package com.ctshk.rpc.ship.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 船种类型集合
 * </p>
 *
 * @author 刘蕾
 * @since 2021年03月05日
 */
@Data
@ApiModel(value = "ShipType对象", description = "船种类型集合")
public class ShipTypeProductList implements Serializable {

    @ApiModelProperty(value = "航线名称")
    private String routeName;

    @ApiModelProperty(value = "船种id")
    private Long shipTypeId;

    @ApiModelProperty(value = "船种名称")
    private String shipTypeName;

    @ApiModelProperty(value = "航次码")
    private String voyage;

    @ApiModelProperty(value = "出发时间")
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime depTime;

    @ApiModelProperty(value = "到达时间")
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime arrTime;


}
